 <%= javascript_include_tag :fckeditor %>
 
 <table cellspacing="0" cellpadding="0" border="0" class="addPostPanel">
    <tr>
      <td valign="top">Название</td>
      <td valign="top"><%= form.text_field :title %></td>
    </tr>
    <tr>
      <td valign="top">URL</td>
      <td valign="top"><%= form.text_field :slug %></td>
    </tr>
    
    <tr>
    	<td valign="top"></td>
      <td valign="top">
      	(URL переведется автоматически, если оставить пустым)
      	<%#= form.collection_select :page_type_id, PageType.find_all, :id, :name, {:include_blank=>false} %>
      </td>
    </tr>
  </table>
  <div class="redactor">
  	<%= fckeditor_textarea(:page, :content, :toolbarSet => 'Simple', :width => '100%', :height => '500px') %>
  </div>
  
  <input type="submit" value="Сохранить"/>

